<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
${model.message }
<table>
<tr><td>ID</td><td>Name</td><td>Description</td><td>Character</td>
<td>Costume</td><td>Photographer</td><td>Type</td><td>User</td><td>Added</td>
<td>Lastuploaded</td><td>LastViewed</td><td>viewed</td><td>Tags</td>
<td>Edit</td><td>Delete</td><td>Manage Photo</td></tr>
<c:forEach items="${model.album }" var="a">
<tr><td>${a.id }</td><td>${a.name }</td><td>${a.description }</td><td>${a.character }</td>
<td>${a.costume }</td><td>${a.photographer }</td><td>${a.type }</td><td>${a.userName }</td>
<td>${a.added }</td><td>${a.lastuploaded }</td><td>${a.lastviewed }</td><td>${a.viewed }</td>
<td><c:forEach items="${a.tags }" var="t"><a href="listtagalbum.htm?tagid=${t.id }">${t.word}</a>;&nbsp;</c:forEach></td>
<td><a href="editalbum.htm?albumid=${a.id }">Edit</a></td><td><a href="delalbum.htm?albumid=${a.id }">Delete</a></td>
<td><a href="showalbum.htm?albumid=${a.id }">Manage Photos</a></td></tr>
</c:forEach>
</table>
<a href="addalbum.htm">Add a New Album</a>
</body>
</html>